﻿using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Himall.Entity.Config
{
   public class GiftInfoConfig : EntityTypeConfiguration<GiftInfo>
    {
        public GiftInfoConfig()
        {
            ToTable("Himall_Gifts");
            Property(item => item.Description).HasColumnType("text");
            Property(item => item.ImagePath).HasColumnType("varchar").HasMaxLength(100);
            Property(item => item.GiftName).HasColumnType("varchar").HasMaxLength(100);
        }
    }
}
